package com.neu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "任务分配")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("task_user")
public class TaskUser {
    /**
     * 任务ID
     */
    @TableId(type= IdType.ASSIGN_ID)
    private String taskId;
    /**
     * 用户ID
     */
    private String userId;

}
